package com.example.octopus.entity.returnMessage;

import com.example.octopus.entity.Product;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class GetCloudMessage {
    public GetCloudMessage(List<Product> data, String errmsg) {
        this.data = data;
        this.errmsg = errmsg;
    }
    @JsonProperty("data")
    private List<Product> data;
    @JsonProperty("errMsg")
    private String errmsg;
}
